﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

namespace Nirvana
{
    public class PassPointerClickEvent : PassEvent, IPointerClickHandler, IEventSystemHandler
    {
        public void OnPointerClick(PointerEventData eventData)
        {
            base.PassEventDown<ISubmitHandler>(eventData, ExecuteEvents.submitHandler);
            base.PassEventDown<IPointerClickHandler>(eventData, ExecuteEvents.pointerClickHandler);
        }
    }
}

